.popup {
  top: 0;
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100vh;
}

.popup_opened {
  display: flex;
  flex-direction: row-reverse;
}

.popup__container {
  z-index: 3;
  width: 67%;
  height: 100vh;
  background-color: #fff;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.popup__exit-button {
  padding: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  width: 22px;
  height: 22px;
  margin: 27px 27px 0 auto;
  transform: rotate(45deg);
  cursor: pointer;
}

.popup__link-items {
  margin: 10.7vh auto 0;
  display: flex;
  flex-direction: column;
  max-width: 340px;
}

.popup__cell {
  margin: auto auto 92px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100px;
  height: 30px;
}

.popup__link-item {
  margin: 18px auto 0;
  padding: 4px 0 4px 0;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: center;
  box-sizing: border-box;
  align-items: center;
}

.popup__cell-link {
  margin: 18px auto 0;
  padding: 4px 0 4px 0;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0px;
  box-sizing: border-box;
  align-items: center;
  font-size: 14px;
  line-height: 16px;
  text-align: left;
}

.popup__cell-link:first-child {
  margin: auto auto auto 0;
  padding-top: 4px;
}

.popup__link-item:first-child {
  margin: 0 auto;
  padding-top: 0;
}

.popup__link-item_accaunt {
  color: rgb(0, 0, 0);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  line-height: 16px;
  text-align: left;
}

.popup__cell-image-container {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background-color: rgb(249, 249, 249);
  display: flex;
}

.popup__cell-image {
  margin: auto;
}

@media screen and (max-width: 600px) {
  .popup__container {
    width: 100%;
  }
}
